keywords: ip pbx voip gateway gsm gateway

×

Notice

The forum is in read only mode.
× Questions about A400/800/1200 Analog Interface Card

A1200P automatic detect and config on trixbox and aah

17 years 7 months ago #112 by
This work fine =)
17 years 1 month ago #245 by Slanj
Hi!

I am trying to setup this card on trixbox 2.0 . When I follow instructions in installation guide - I cannot find directories, that I need to edit.

Please, help me.
17 years 1 month ago #247 by miaolin
which directory you can not find?
17 years 1 month ago #248 by Slanj
Hi, now I have some othes problems.
I tried to follow these instructions to install A1200P www.trixbox.org/forums/trixbox/trixbox-e...-a1200p-installation . After several attempts I accomplished all steps. Driver was installed, zaptel was rebuilt (I guess :) ) . But "genzaptelconf" still does not find my card...
And - when I type genzaptelconf command - I get these warnings

Unloading zaptel hardware drivers:
Unloading ztdummy: ERROR: Module ztdummy does not exist in /proc/modules
[FAILED]
Unloading opvxa1200: ERROR: Module opvxa1200 does not exist in /proc/modules
[FAILED]
Unloading wctdm: ERROR: Module wctdm does not exist in /proc/modules
[FAILED]
Unloading wcfxo: ERROR: Module wcfxo does not exist in /proc/modules
[FAILED]
Unloading wcte11xp: ERROR: Module wcte11xp does not exist in /proc/modules
[FAILED]
Unloading wct1xxp: ERROR: Module wct1xxp does not exist in /proc/modules
[FAILED]
Unloading wct4xxp: ERROR: Module wct4xxp does not exist in /proc/modules
[FAILED]
Unloading tor2: ERROR: Module tor2 does not exist in /proc/modules
[FAILED]
Removing zaptel module: ERROR: Module zaptel does not exist in /proc/modules
[FAILED]
Loading zaptel framework: FATAL: Module zaptel not found.
[FAILED]

Probably - my installation was not wright :) . Please, help a beginner. What could be done in my situation.
17 years 1 month ago #249 by miaolin
I think you forget run make install in zaptel directory?

seems that the modules do not installed correctly.
17 years 1 month ago #250 by Slanj
I did it several times. As told there www.trixbox.org/forums/trixbox/trixbox-e...-a1200p-installation

make clean
make linux26
make install

And I get (after make install) :

if cmp -s version.h.tmp version.h ; then echo; else \
mv version.h.tmp version.h ; \
fi

rm -f version.h.tmp
/usr/src/linux
make -C /usr/src/linux SUBDIRS=/usr/src/zaptel modules
make[1]: Entering directory `/usr/src/linux'
Building modules, stage 2.
MODPOST
*** Warning: "_spin_lock_irqsave" [/usr/src/zaptel/ztdynamic.ko] undefined!
*** Warning: "_spin_unlock_irqrestore" [/usr/src/zaptel/ztdynamic.ko] undefined!
*** Warning: "_spin_unlock_irqrestore" [/usr/src/zaptel/ztd-loc.ko] undefined!
*** Warning: "_spin_lock_irqsave" [/usr/src/zaptel/ztd-loc.ko] undefined!
*** Warning: "_spin_unlock_irqrestore" [/usr/src/zaptel/ztd-eth.ko] undefined!
*** Warning: "_spin_lock_irqsave" [/usr/src/zaptel/ztd-eth.ko] undefined!
*** Warning: "_write_unlock_irqrestore" [/usr/src/zaptel/zaptel.ko] undefined!
*** Warning: "_read_lock" [/usr/src/zaptel/zaptel.ko] undefined!
*** Warning: "_write_lock_irqsave" [/usr/src/zaptel/zaptel.ko] undefined!
*** Warning: "_spin_lock_irqsave" [/usr/src/zaptel/zaptel.ko] undefined!
*** Warning: "_spin_unlock_irqrestore" [/usr/src/zaptel/zaptel.ko] undefined!
*** Warning: "_write_lock" [/usr/src/zaptel/zaptel.ko] undefined!
*** Warning: "_write_unlock" [/usr/src/zaptel/zaptel.ko] undefined!
*** Warning: "_read_unlock" [/usr/src/zaptel/zaptel.ko] undefined!
*** Warning: "_spin_unlock_irqrestore" [/usr/src/zaptel/wcte11xp.ko] undefined!
*** Warning: "_spin_lock_irqsave" [/usr/src/zaptel/wcte11xp.ko] undefined!
*** Warning: "_spin_unlock_irqrestore" [/usr/src/zaptel/wctdm24xxp.ko] undefined !
*** Warning: "_spin_lock_irqsave" [/usr/src/zaptel/wctdm24xxp.ko] undefined!
*** Warning: "_spin_unlock_irqrestore" [/usr/src/zaptel/wctdm.ko] undefined!
*** Warning: "_spin_lock_irqsave" [/usr/src/zaptel/wctdm.ko] undefined!
*** Warning: "_spin_lock_irqsave" [/usr/src/zaptel/wct4xxp/wct4xxp.ko] undefined !
*** Warning: "_spin_unlock_irqrestore" [/usr/src/zaptel/wct4xxp/wct4xxp.ko] unde fined!
*** Warning: "_spin_unlock_irqrestore" [/usr/src/zaptel/wct1xxp.ko] undefined!
*** Warning: "_spin_lock_irqsave" [/usr/src/zaptel/wct1xxp.ko] undefined!
*** Warning: "_write_unlock_irqrestore" [/usr/src/zaptel/torisa.ko] undefined!
*** Warning: "_write_lock_irqsave" [/usr/src/zaptel/torisa.ko] undefined!
*** Warning: "_spin_unlock_irqrestore" [/usr/src/zaptel/tor2.ko] undefined!
*** Warning: "_spin_lock_irqsave" [/usr/src/zaptel/tor2.ko] undefined!
*** Warning: "_spin_unlock_irqrestore" [/usr/src/zaptel/pciradio.ko] undefined!
*** Warning: "_spin_lock_irqsave" [/usr/src/zaptel/pciradio.ko] undefined!
*** Warning: "_spin_unlock" [/usr/src/zaptel/pciradio.ko] undefined!
*** Warning: "_spin_lock" [/usr/src/zaptel/pciradio.ko] undefined!
*** Warning: "_spin_unlock_irqrestore" [/usr/src/zaptel/opvxa1200.ko] undefined!
*** Warning: "_spin_lock_irqsave" [/usr/src/zaptel/opvxa1200.ko] undefined!
make[1]: Leaving directory `/usr/src/linux'
build_tools/genudevrules > /etc/udev/rules.d/zaptel.rules
if [ -d /usr/lib/hotplug/firmware ]; then \
install -m 644 wct4xxp/*.ima /usr/lib/hotplug/firmware; \
elif [ -d /lib/firmware ]; then \
install -m 644 wct4xxp/*.ima /lib/firmware; \
fi
Installed firmware
install -D -m 755 ztcfg /sbin/ztcfg
if [ -f sethdlc-new ]; then \
install -D -m 755 sethdlc-new /sbin/sethdlc; \
elif [ -f sethdlc ]; then \
install -D -m 755 sethdlc /sbin/sethdlc ; \
fi
if [ -f zttool ]; then install -D -m 755 zttool /sbin/zttool; fi
for x in zaptel.ko tor2.ko torisa.ko wcusb.ko wcfxo.ko wctdm.ko wctdm24xxp.ko zt dynamic.ko ztd-eth.ko wct1xxp.ko wcte11xp.ko pciradio.ko opvxa1200.ko ztd-loc.ko ztdummy.ko; do \
rm -f /lib/modules/2.6.9-34.0.2.ELsmp/extra/$x ; \
done; \
make -C /usr/src/linux SUBDIRS=/usr/src/zaptel INSTALL_MOD_PATH= INSTALL_MOD_DIR =misc modules_install;
make[1]: Entering directory `/usr/src/linux'
INSTALL /usr/src/zaptel/opvxa1200.ko
INSTALL /usr/src/zaptel/pciradio.ko
INSTALL /usr/src/zaptel/tor2.ko
INSTALL /usr/src/zaptel/torisa.ko
INSTALL /usr/src/zaptel/wcfxo.ko
INSTALL /usr/src/zaptel/wct1xxp.ko
INSTALL /usr/src/zaptel/wct4xxp/wct4xxp.ko
INSTALL /usr/src/zaptel/wctdm.ko
INSTALL /usr/src/zaptel/wctdm24xxp.ko
INSTALL /usr/src/zaptel/wcte11xp.ko
INSTALL /usr/src/zaptel/wcusb.ko
INSTALL /usr/src/zaptel/zaptel.ko
INSTALL /usr/src/zaptel/ztd-eth.ko
INSTALL /usr/src/zaptel/ztd-loc.ko
INSTALL /usr/src/zaptel/ztdummy.ko
INSTALL /usr/src/zaptel/ztdynamic.ko
make[1]: Leaving directory `/usr/src/linux'
if ! [ -f wcfxsusb.o ]; then \
rm -f /lib/modules/2.6.9-34.0.2.ELsmp/misc/wcfxsusb.o; \
fi; \
rm -f /lib/modules/2.6.9-34.0.2.ELsmp/misc/wcfxs.o
install -D -m 755 libtonezone.so /usr/lib/libtonezone.so.1.0
[ `id -u` = 0 ] && /sbin/ldconfig || :
rm -f /usr/lib/libtonezone.so
ln -sf libtonezone.so.1.0 \
/usr/lib/libtonezone.so.1
ln -sf libtonezone.so.1.0 \
/usr/lib/libtonezone.so
if [ -x /usr/sbin/sestatus ] && (/usr/sbin/sestatus | grep "SELinux status:" | g rep -q "enabled") ; then restorecon -v /usr/lib/libtonezone.so; fi
install -D -m 644 zaptel.h /usr/include/linux/zaptel.h
install -D -m 644 torisa.h /usr/include/linux/torisa.h
install -D -m 644 tonezone.h /usr/include/tonezone.h
install -m 644 doc/ztcfg.8 /usr/share/man/man8
install -m 644 doc/zttool.8 /usr/share/man/man8
[ `id -u` = 0 ] && /sbin/depmod -a 2.6.9-34.0.2.ELsmp || :
[ -f /etc/zaptel.conf ] || install -D -m 644 zaptel.conf.sample /etc/zaptel.conf
build_tools/genmodconf linux26 "" "tor2 torisa wcusb wcfxo wctdm wctdm24xxp ztdy namic ztd-eth wct1xxp wcte11xp pciradio opvxa1200 ztd-loc ztdummy"
Building /etc/modprobe.conf...

[/size]
Time to create page: 0.052 seconds
Powered by Kunena Forum